﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Yeetop.PayHub.ChinaBank
{
    /// <summary>
    /// 网银在线交易信息
    /// </summary>
    public class ChinaBankTradeInfo : ITradeInfo
    {
        public PayPlatformType PayPlatform
        {
            get { return PayPlatformType.ChinaBank; }
        }

        /// <summary>
        /// 订单编号,必填，订单编号标准格式为：订单生成日期(yyyymmdd)-商户编号-商户流水号。订单编号所有字符总和不可超过64位。
        /// </summary>
        public string v_oid { get; set; }

        /// <summary>
        /// 订单总金额,必填
        /// </summary>
        public double v_amount { get; set; }

        /// <summary>
        /// 币种,必填,CNY为人民币
        /// </summary>
        public string v_moneytype { get; set; }

        /// <summary>
        /// 消费者完成购物后返回的商户页面,必填，URL参数是以http://开头的完整URL地址
        /// </summary>
        public string v_url { get; set; }

        /// <summary>
        /// 备注1
        /// </summary>
        public string remark1 { get; set; }

        /// <summary>
        /// 备注2
        /// </summary>
        public string remark2 { get; set; }

        /// <summary>
        /// 收货人姓名
        /// </summary>
        public string v_rcvname { get; set; }

        /// <summary>
        /// 收货人地址
        /// </summary>
        public string v_rcvaddr { get; set; }

        /// <summary>
        /// 收货人电话
        /// </summary>
        public string v_rcvtel { get; set; }

        /// <summary>
        /// 收货人邮编
        /// </summary>
        public int v_rcvpost { get; set; }

        /// <summary>
        /// 收货人Email
        /// </summary>
        public string v_rcvemail { get; set; }

        /// <summary>
        /// 收货人手机号
        /// </summary>
        public int v_rcvmobile { get; set; }

        /// <summary>
        /// 订货人姓名
        /// </summary>
        public string v_ordername { get; set; }

        /// <summary>
        /// 订货人地址
        /// </summary>
        public string v_orderaddr { get; set; }

        /// <summary>
        /// 订货人电话
        /// </summary>
        public string v_ordertel { get; set; }

        /// <summary>
        /// 订货人邮编
        /// </summary>
        public int v_orderpost { get; set; }

        /// <summary>
        /// 订货人Email
        /// </summary>
        public string v_orderemail { get; set; }

        /// <summary>
        /// 订货人手机号
        /// </summary>
        public string v_ordermobile { get; set; }
    }
}
